package com.etc.service;

import com.etc.entity.Device;

import java.util.List;
import java.util.Map;

public interface DeviceService {
    public List<Device> findAll();

    public List<Device> findByPark(Integer id);

    public List<Device> findByBuilding(Integer id);

    public List<Device> findByAnyCondition(Map<String,Object> map);

    public Device findById(Integer id);

    public List<Device> findByStatus(Integer status);
}
